package com.erge.student.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.erge.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.erge.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 班级对象 erge_class
 *
 * @author roydon
 * @date 2025-05-22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("erge_class")
public class ClassDO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 父级id */
    @Excel(name = "父级id")
    private Long parentId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;


}
